setTransitionGroup

open fun setTransitionGroup(@NonNull group: ViewGroup, isTransitionGroup: Boolean)(source)

Changes whether or not this ViewGroup should be treated as a single entity during Activity Transitions.

Parameters

group

ViewGroup for which to set the mode.

isTransitionGroup

Whether or not the ViewGroup should be treated as a unit in Activity transitions. If false, the ViewGroup won't transition, only its children. If true, the entire ViewGroup will transition together.